﻿<UserControl x:Class="OnlineVideos.PersonGalleryPopup"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    xmlns:wb="clr-namespace:OnlineVideos"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">
    
    <!--<toolkit:TransitionService.NavigationInTransition>
        <toolkit:NavigationInTransition>
            <toolkit:NavigationInTransition.Backward>
                <toolkit:TurnstileTransition Mode="BackwardIn"/>
            </toolkit:NavigationInTransition.Backward>
            <toolkit:NavigationInTransition.Forward>
                <toolkit:TurnstileTransition Mode="ForwardIn"/>
            </toolkit:NavigationInTransition.Forward>
        </toolkit:NavigationInTransition>
    </toolkit:TransitionService.NavigationInTransition>
    <toolkit:TransitionService.NavigationOutTransition>
        <toolkit:NavigationOutTransition>
            <toolkit:NavigationOutTransition.Backward>
                <toolkit:TurnstileTransition Mode="BackwardOut"/>
            </toolkit:NavigationOutTransition.Backward>
            <toolkit:NavigationOutTransition.Forward>
                <toolkit:TurnstileTransition Mode="ForwardOut"/>
            </toolkit:NavigationOutTransition.Forward>
        </toolkit:NavigationOutTransition>
    </toolkit:TransitionService.NavigationOutTransition>-->



    <Grid x:Name="LayoutRoot" Background="Black">
        <Popup x:Name="popMessage">
            <Grid x:Name="theBack" Background="#80000000"  VerticalAlignment="Center">
                <Image Name="image1"  Stretch="Fill" ManipulationCompleted="image1_ManipulationCompleted_1" VerticalAlignment="Center" HorizontalAlignment="Center" ManipulationDelta="image1_ManipulationDelta" Height="720" Width="480"   >
                    <Image.Resources>
                        <Storyboard x:Name="FadeImageStoryboard">
                            <DoubleAnimation Storyboard.TargetName="image1"/>
                        </Storyboard>
                    </Image.Resources>
                </Image>
            </Grid>
        </Popup>
    </Grid>
    
</UserControl>
